package com.pt.chitra.appCommands
{
	import com.pt.utils.TimerController;
	
	import mx.core.UIComponent;
	
	import org.puremvc.as3.interfaces.ICommand;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;

	public class TimerCommand extends SimpleCommand implements ICommand
	{

		override public function execute(notification:INotification):void
		{
			var application:UIComponent = notification.getBody() as UIComponent;
			
			var timerController : TimerController = new TimerController( application );
			timerController.startTimer();
		}
		
	}
}